#!/bin/bash
set -x
set -e
. ${DOWNLOAD_TOOL} -u http://forge.abinit.org/fallbacks/libxc-4.0.1.tar.gz
cd ${JARVIS_TMP}
rm -rf libxc-4.0.1
tar -xvf ${JARVIS_DOWNLOAD}/libxc-4.0.1.tar.gz
cd libxc-4.0.1
./configure  --prefix=$1  -enable-shared=yes --enable-static=yes
make -j
make install

